﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"  Theme="SkinFile"
    CodeFile="TimeRecord.aspx.cs" Inherits="TimeRecord" Title="考勤" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <h1 id="pagetitle" class="pagetitle">
        部门考勤信息查询
    </h1>
    <div class="condition">
        <div class="conditioninput">
            <span>请选择部门：</span><asp:DropDownList ID="DDLdept" runat="server" Width="180px">
            </asp:DropDownList>&nbsp; 请选择查询月份：<asp:DropDownList ID="DdlMonth" runat="server"
                Width="120px">
            </asp:DropDownList>
        </div>
        <div class="conditionbutton">
            <asp:Button ID="BtnQuery" runat="server" Text="查询信息" Width="80px" OnClick="BtnQuery_Click" />
            <asp:Button ID="btnExport" runat="server" Text="导出查询结果" OnClick="btnExport_Click" />
        </div>
    </div>
    <div runat="server" id="divResult" class="divResult">
        <asp:Label ID="OperationResult" CssClass="result" runat="server" Text=""></asp:Label>
    </div>
    <div class="InfoArea">
        <div id="timerecordinfoarea" style="width:100%;overflow: scroll;">
            <asp:GridView ID="GridView" runat="server" Width="100%" AutoGenerateColumns="False" SkinID="gridviewSkin">
                <%--<RowStyle BackColor="#EFF3FB" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />--%>
                <Columns>
                    <asp:BoundField DataField="YEARMONTH" HeaderText="考勤月份">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DEPT_NAME" HeaderText="所属部门">
                        <HeaderStyle Width="120px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="UID" HeaderText="用户编号">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="DISPLAY_NAME" HeaderText="用户名">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D1" HeaderText="D1">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D2" HeaderText="D2">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D3" HeaderText="D3">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D4" HeaderText="4">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D5" HeaderText="D5">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D6" HeaderText="D6">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D7" HeaderText="D7">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D8" HeaderText="D8">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D9" HeaderText="D9">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D10" HeaderText="D10">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D11" HeaderText="D11">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D12" HeaderText="D12">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D13" HeaderText="D13">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D14" HeaderText="D14">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D15" HeaderText="D15">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D16" HeaderText="D16">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D17" HeaderText="D17">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D18" HeaderText="D18">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D19" HeaderText="D19">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D20" HeaderText="D20">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D21" HeaderText="D21">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D22" HeaderText="D22">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D23" HeaderText="D23">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D24" HeaderText="D24">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D25" HeaderText="D25">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D26" HeaderText="D26">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D27" HeaderText="D27">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D28" HeaderText="D28">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D29" HeaderText="D29">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D30" HeaderText="D30">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="D31" HeaderText="D31">
                        <HeaderStyle Width="80px" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
